<?php

namespace api\modules\v1\controllers;

use api\modules\v1\models\images\Images;
use Yii;
/**
 * Default controller for the `v1` module
 */
class ImagesController extends DefaultController
{

    public $modelClass = 'api\modules\v1\models\Images';

    public function actionImages($position = 1, $one = 0) {
        if (Yii::$app->request->isGet) {
            return (new Images())->getListByPosition($position, $one);
        }
    }
}
